<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	template="/layout/template.xhtml">

	<ui:define name="body">

		<h:messages globalOnly="true" styleClass="message" errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"/>

		<h:form id="description" styleClass="edit">
			<rich:panel>
				<f:facet name="header">Course description</f:facet>
				<s:decorate id="descriptionField" template="/layout/edit.xhtml">
					<ui:define name="label">Description</ui:define>
					<h:inputTextarea id="description" required="true" rows="20" cols="80"
						value="#{course.description}"/>
				</s:decorate>
				<div style="clear: both;">
					<span class="required">*</span> required fields
				</div>
			</rich:panel>
			<div class="actionButtons">
				<s:button id="cancel" action="cancel" value="Cancel"/>
				<ui:remove>
				<h:commandButton id="next" action="#{courseWizard.submitDescription}" value="Next &#187;"/>
				</ui:remove>
				<h:commandButton id="next" action="next" value="Next &#187;"/>
			</div>
		</h:form>

	</ui:define> 
</ui:composition>
